package cn.dj.user.service;

import cn.dj.basic.service.BaseService;
import cn.dj.user.domain.User;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类：用户
 * </p>
 *
 * @author dj
 * @since 2023-02-07
 */
public interface IUserService extends BaseService<User> {
    /**
     * 手机注册
     * @param map
     */
    void phoneRegister(Map<String, String> map);

    /**
     * 邮箱注册
     * @param map
     */
    void emailRegister(Map<String, String> map) throws MessagingException;

    /**
     * 员工激活
     * @param id
     */
    void activeId(Long id);
}
